package com.dbq.fast.common.net.mock.mockApi;

import com.dbq.fast.common.net.mock.MockInterface;
import com.dbq.fast.common.net.mock.MockRouter;

public class MockRefreshToken implements MockInterface {

    public static final String URL_REFRESH_TOKEN = MockRouter.BASE_URL + "/tokens";

    @Override
    public byte[] getResponse(String url) {
        String result = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"成功\",\n" +
                "  \"data\": {\n" +
                "    \"account\": \"wx-acac087956a84920b7452a139a326a61\",\n" +
                "    \"token\": \"0Rb1W5451ptbQopZ/cGz05EGsiM/rF4u39jiajGLoklmQqild4y032YyFAhbgAvpddMAjTX/CItj\\r\\n/rboRiAbjg==\"\n" +
                "  }\n" +
                "}\n";
        return result.getBytes();
    }
}
